package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
* @Description:    商品分享实体类
* @Author:         FBL
* @CreateDate:     2019\8\12 0012 18:29
* @Version:        1.0
*/
@Data
@Table(name = "product_share_count")
public class ProductShareCountEntity {
    @Id
    @Column(name = "share_id")
    private Integer share_id;
    @Column(name = "product_id")
    private String productId;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "share_address")
    private String shareAddress;
    @Column(name = "share_num")
    private Integer shareNum;
    @Column(name = "share_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shareTime;


}
